
							<div class="layui-card homepage-bottom">
								<div class="layui-card-header">
									<h3 class="panel-title">
										<i class="layui-icon layui-icon-website"></i>
										数据库升级
									</h3>
								</div>
								<div class="layui-card-body">
									<div class="panel-body layadmin-homepage-shadow">

										<div class="layui-col-md12">
											<div class="with-padding">
												<p>
													<strong class="text-success">1.下载更新包 <i class="fa fa-forward"></i> 2.文件对比 <i class="fa fa-forward"></i> 3.代码升级 <i class="fa fa-forward"></i> 4.数据库升级 <i class="fa fa-forward"></i> 5.升级版本号</strong>
												</p>
												<h4>恭喜，升级成功，目前版本为<span style="color: red">v{$version.version}<sup>build{:config('setting.build')}</sup></span></h4>
												<p>如果发现升级之后出现问题，请找回备份文件，同时还原备份的数据库。</p>
												<p>{:\\think\\facade\\Config::get('system_update_path')}{$version.version}{$Think.DIRECTORY_SEPARATOR}backup{$Think.DIRECTORY_SEPARATOR}</p>
												<div class="layui-row">
													<div class="layui-col-md12">
														<button  class="layui-btn layui-btn-fluid"id="close-page" >关闭当前页面</button>
													</div>
												</div>
											</div>

										</div>
									</div>

								</div>
							</div>

<script>
	layui.use(['admin'], function () {
		var $ = layui.$
				,layer = layui.layer;
		$("#close-page").on('click', function(){
			 // layer.msg(1); admin.events.closeThisTabs();
			$('#LAY_app_tabsheader>li').eq($('#LAY_app_tabsheader').children('li').length - 1).find('.layui-tab-close').trigger('click');
		});
	});
</script>



